package com.th.supcom.pds.auditprescription.client.service;

import net.carefx.framework.container.client.exception.UiException;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.th.supcom.pds.common.client.commom.PdsAuditPrescServiceFactory;
import com.th.supcom.pds.common.client.model.PdsSupplyModel;
import com.th.supcom.pds.internal.client.model.ResultModel;

@RemoteServiceRelativePath (PdsAuditPrescServiceFactory.BASE_URL + "auditPresc.do")
public interface AuditPrescripRpc extends RemoteService
{
    /**
     * 处方审核
     * @param model
     * @throws UiException
     */
    public String checkPresc(PdsSupplyModel model, String checkFlag) throws UiException;
    
    /**
     * @param prescNo 处方号
     * @return model
     * @throws UiException 界面异常
     */
    public ResultModel findPrescDetailInfoByPrescId (PdsSupplyModel model) throws UiException;
}
